home *** CD-ROM | disk | FTP | other *** search
- if(!_global.mx)
- {
- _global.mx = new Object();
- }
- §§pop();
- if(!_global.mx.controls)
- {
- _global.mx.controls = new Object();
- }
- §§pop();
- if(!_global.mx.controls.Button)
- {
- var _loc1_ = null;
- mx.controls.Button = _loc1_ = function()
- {
- super();
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().init = function init(Void)
- {
- super.init();
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().draw = function draw()
- {
- if(this.initializing)
- {
- this.labelPath.visible = true;
- }
- super.draw();
- if(this.initIcon != undefined)
- {
- this._setIcon(this.initIcon);
- }
- delete this.initIcon;
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().onRelease = function onRelease(Void)
- {
- super.onRelease();
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().createChildren = function createChildren(Void)
- {
- super.createChildren();
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().setSkin = function setSkin(tag, linkageName, initobj)
- {
- return super.setSkin(tag,linkageName,initobj);
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().viewSkin = function viewSkin(varName)
- {
- var _loc3_ = !this.getState() ? "false" : "true";
- _loc3_ += !this.enabled ? "disabled" : this.phase;
- super.viewSkin(varName,{styleName:this,borderStyle:_loc3_});
- };
- mx.controls.Button.prototype = new mx.controls.SimpleButton().invalidateStyle = function invalidateStyle(c)
- {
- this.labelPath.invalidateStyle(c);
- super.invalidateStyle(c);
- };
- §§push(mx.controls.Button.prototype = new mx.controls.SimpleButton());
- §§push("setColor");
- }
- else
- {
- §§pop();
- }
-